<template>
  <div class="goods">
    <page-content
      :tableColumnConfig="tableColumnConfig"
      pathName="goods"
      tableTitle="商品列表"
    >
      <template #imgUrl="tabContent">
        <el-image
          :src="tabContent.row"
          :preview-src-list="[tabContent.row]"
        ></el-image>
      </template>
      <template #oldPrice="tabContent">
        {{ '￥' + tabContent.row }}
      </template>
      <template #newPrice="tabContent">
        {{ '￥' + tabContent.row }}
      </template>
    </page-content>
  </div>
</template>

<script lang="ts" setup>
import { pageContent } from '@/base-ui/pageContent';
import { tableColumnConfig } from './config.ts/table.config';
</script>

<style scoped></style>
